package cdu.hjx.project.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Patients implements Serializable {
    private long id;
    private String pname;
    private String pidcard;
    private String ptel;
    private int page;
    private int pgender;
    private String pnation;
    private int pcm;
    private int pkg;
    private float pbmi;
    private String pjob;
    private String pactivity;

    PatientsDetail pdetail; // 查的时候需要，添加数据的时候不需要
}
